package zy;

public class Add implements Runnable{
	public Change c;
	
	public Add(Change c) {
		super();
		this.c = c;
	}

	@Override
	public void run() {
		for(int i=0;i<5;i++){
			c.add();
			try {
				Thread.sleep(100);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}
}
